<?
	$action = $this->params->action;
?>

<?= $this->Form->create('Filter', array('url'=>"/proizvodnja/$action", 'class'=>'filter-form', 'type'=>'get')) ?>

	<?= $this->Form->label('keyword', 'Ključna reč:')?>
	<?= $this->Form->text('keyword', array('value'=>@$filter['keyword']))?>

	<?= $this->Form->label('date_from', 'Datum:')?>
	<?= $this->Form->text('date_from', array('value'=>@$filter['date_from'], 'class'=>'datepicker'))?>
	<?= $this->Form->label('date_to', ' - ')?>
	<?= $this->Form->text('date_to', array('value'=>@$filter['date_to'], 'class'=>'datepicker'))?>

	<?= $this->Form->submit('Traži', array('div'=>false))?>
	<?= $this->Html->link('Poništi', "/proizvodnja/$action", array('class'=>'reset')) ?>
	
<?= $this->Form->end() ?>